const sum = function (a,b) {
    return a + b
}
const reduce = function (a,b) {
    return a -b
}
const error = function (a,b) {
    try {
        throw new Error('is will be a terrofied error')
    } catch (error) {
        console.log(`error`, error)
    }
}
const getAsyncData = function () {
    return new Promise((resolve,reject)=>{
        setTimeout(()=>{
            resolve(123)
        },1000)
    })
}
// getAsyncData()
// module.exports = {
//     sum,
//     reduce,
//     error,
//     getAsyncData
// }
export {
    sum,
    reduce,
    error,
    getAsyncData
}